<?php

namespace app\admin\validate;

use app\common\validate\BaseValidate;

class WarehouseValidate extends BaseValidate
{
    protected $rule = [
        "parts_info|物品" => 'require|array',

    ];

    protected $message = [];
    
    
    protected $scene = [
        "add" => ["no","parts_info"],
        "edit" => ["id","no","parts_info"],
    ];
}